package com.fortune.vo.productMgt;

import com.fortune.constants.enums.BackBox;
import com.fortune.constants.enums.Shelf;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class Product {
	@ApiModelProperty(example="商品id")
	private String id;
	@ApiModelProperty(example="商品名称")
	private String name;
	@ApiModelProperty(example="商品编号")
	private String number;
	@ApiModelProperty(example="商品单位名称")
	private String mpcName;
	@ApiModelProperty(example="规格名称")
	private String msName;
	@ApiModelProperty(example="商品条形码")
	private String barcode;
	@ApiModelProperty(example="市场零售价")
	private BigDecimal retailPrice;
	@ApiModelProperty(example="统一批发价（对经销商）")
	private BigDecimal wholesalePrice;
	@ApiModelProperty(example="是否回空箱(YES,NO)")
	private BackBox backBox;
	@ApiModelProperty(example="空箱押金")
	private BigDecimal boxPrice;
	@ApiModelProperty(example="上架状态(YES,NO)")
	private Shelf shelf;
	@ApiModelProperty(example="商品分类名称")
	private String categoryName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getMpcName() {
		return mpcName;
	}

	public void setMpcName(String mpcName) {
		this.mpcName = mpcName;
	}

	public String getMsName() {
		return msName;
	}

	public void setMsName(String msName) {
		this.msName = msName;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public BigDecimal getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(BigDecimal retailPrice) {
		this.retailPrice = retailPrice;
	}

	public BigDecimal getWholesalePrice() {
		return wholesalePrice;
	}

	public void setWholesalePrice(BigDecimal wholesalePrice) {
		this.wholesalePrice = wholesalePrice;
	}

	public BackBox getBackBox() {
		return backBox;
	}

	public void setBackBox(BackBox backBox) {
		this.backBox = backBox;
	}

	public BigDecimal getBoxPrice() {
		return boxPrice;
	}

	public void setBoxPrice(BigDecimal boxPrice) {
		this.boxPrice = boxPrice;
	}

	public Shelf getShelf() {
		return shelf;
	}

	public void setShelf(Shelf shelf) {
		this.shelf = shelf;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	@Override
	public String toString() {
		return "Product{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", number='" + number + '\'' +
				", mpcName='" + mpcName + '\'' +
				", msName='" + msName + '\'' +
				", barcode='" + barcode + '\'' +
				", retailPrice=" + retailPrice +
				", wholesalePrice=" + wholesalePrice +
				", backBox=" + backBox +
				", boxPrice=" + boxPrice +
				", shelf=" + shelf +
				", categoryName='" + categoryName + '\'' +
				'}';
	}
}
